<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8"/>
  <meta http-equiv="content-Type" content="text/html;charset=utf-8">
  <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  <meta name="description" content="同乡烩后台管理系统"/>
  <title>同乡烩后台管理系统</title>
  <link rel="stylesheet" th:href="@{/css/reset.css}"/>
  <link rel="stylesheet" th:href="@{/css/main.css}"/>
  <link rel="stylesheet" th:href="@{/css/list.css}"/>
</head>
<!-- 原材料修改 -->
<body>
<!-- 固定 -->
<div class="main">
  <div th:replace="admin/admin-left::left"/>
  <div class="main-left"></div>

  <!--操作  -->
  <div class="main-right">
    <div class="main-right-header"></div>
    <div class="main-right-navs">
      <a href="#">管理首页</a><a class="split">/</a><a>原材料管理</a><a>/</a><a>原材料搜索</a>
    </div>
    <div class="margin-right-container margin-right-container1">
      <div class="section  section2">
        <!--<div class="margin-right-container-nav margin-right-container-nav2 " style="height: 16rem">
            <img id="imgPre" src="images/data02.jpg" />
        </div>-->
        <div class="margin-right-container-nav margin-right-container-nav2 margin-right-container-nav4">

          <!--<div class="input-group">
              <input onchange="preImg(this.id,'imgPre');" name="imgOne" id="imgOne" type="file" />
          </div>-->
            <div class="input-group">
              <div class="input-group-left">原材料名称：</div>
              <div class="input-group-right" th:text="${raw.getName()}">原材料名称</div>
              <div class="clear"></div>
            </div>
            <div class="input-group">
              <div class="input-group-left">价格：</div>
              <div class="input-group-right" th:text="${raw.getPrice()}">价格</div>
              <div class="clear"></div>
            </div>
            <div class="input-group">
              <div class="input-group-left">数量：</div>
              <div class="input-group-right" th:text="${raw.getNum()}">数量</div>
              <div class="clear"></div>
            </div>
            <div class="margin-right-container-nav5">
              <button class="sure" onclick="location.href='/viewRaws'">返回</button>
            </div>
        </div>
        <div class="clear"></div>
      </div>
    </div>

  </div>
  <div class="clear"></div>
</div>
<script type="text/javascript" th:src="@{js/jquery-3.3.1.min.js}"></script>
</body>
</html>
